﻿using Microsoft.EntityFrameworkCore;
using $ext_safeprojectname$.usermodels;
using Volo.Abp.EntityFrameworkCore;

namespace $ext_safeprojectname$
{
    /// <summary>
    /// 
    /// </summary>
    public interface I$ext_safeprojectname$DbContext : IEfCoreDbContext
    {
        /* Add DbSet for each Aggregate Root here. Example:
         * DbSet<Question> Questions { get; }
         */
        /// <summary>
        /// 用户信息
        /// </summary>
        public DbSet<UserInfo> UserInfo { get; set; }
        /// <summary>
        /// 权限信息
        /// </summary>
        public DbSet<RoleInfo> RoleInfo { get; set; }
        /// <summary>
        /// 角色信息
        /// </summary>
        public DbSet<GradeInfo> GradeInfo { get; set; }
        /// <summary>
        /// 角色权限
        /// </summary>
        public DbSet<GradeRole> GradeRole { get; set; }
        /// <summary>
        /// 部门信息
        /// </summary>
        public DbSet<PartInfo> PartInfo { get; set; }
        /// <summary>
        /// 部门信息
        /// </summary>
        public DbSet<BindUserPart> BindUserPart { get; set; }


    }

}